import { getData, postData } from '../../untils/request';

// 获取私聊用户信息
export async function getPrivateChat(userId) {
    const data = await getData(`/privateChat/getPrivateChat/${userId}`);
    return data;
}

// 统计未阅读的系统消息数量
export async function countUnread(id) {
    const data = await getData(`/message/countUnread/${id}`);
    return data;
}
